package com.bourne.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 登录类
 * @PROJECT_NAME:
 * @DATE: 2021/3/30 20:59
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LoginUser {

    /**
     * 主键
     */
    private Long id;

    /**
     * 昵称
     */
    private String name;

    /**
     * 头像
     */
    @JsonProperty("head_img")
    private String headImg;

    /**
     * 邮箱
     */
    private String phone;

    /**
     * 登录IP
     */
    private String ip;

    /**
     * rsa公钥
     */
    private String pubKey;

    /**
     * psa私钥
     */
    private String priKey;
}
